package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Doing;
import cn.sumpu.app.guoguojie.domain.DoingLove;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface DoingLoveDao {
	public void insert(DoingLove doingLove) throws AppBusinessException;

	public void update(DoingLove doingLove) throws AppBusinessException;

	public void deleteLoveDoing(Map<String, Object> map) throws AppBusinessException;

	public DoingLove getDoingLove(Map<String, Object> map) throws AppBusinessException;

	public List<DoingLove> getList(Map<String, Object> map)
			throws AppBusinessException;

	public int getListCount(Map<String, Object> map)
			throws AppBusinessException;

	public List<Doing> loveMeList(Map<String, Object> map)
			throws AppBusinessException;
	
	public int loveMeListCount(Map<String, Object> map)
	throws AppBusinessException;
	
	public List<Doing> myLoveDoingList(Map<String, Object> map)
		throws AppBusinessException;
	
	public int myLoveDoingListCount(Map<String, Object> map)
	throws AppBusinessException;
	
	public int getMyFamilyLoveAmount(Map<String, Object> map)throws AppBusinessException;//获取家被喜欢数
	
	public int getMyLoveDoingCount(Map<String, Object> map)throws AppBusinessException;//获取我喜欢别人家的喜欢次数
	
	public int getMemberLoveCount(Map<String, Object> map)throws AppBusinessException;

}
